import request from '@/utils/request';

export async function queryVoteList(params) {
  return request(`/lgjserve/vote/userslist?page=${params.currentPage}`, {
    headers: {
      Authorization: sessionStorage.token,
    },
  });
}

export async function queryVoteStatus(params) {
  return request(`/lgjserve/vote/updateStatus/${params}`, {
    headers: {
      Authorization: sessionStorage.token,
    },
  });
}

export async function queryPartnerDetail(id) {
  return request(`/lgjserve/vote/users/${id}`);
}
